Crate nuid

source ·

Structs

  • NUID needs to be very fast to generate and truly unique, all while being entropy pool friendly. We will use 12 bytes of crypto generated data (entropy draining), and 10 bytes of sequential data that is started at a pseudo random number and increments with a pseudo-random increment. Total is 22 bytes of base 62 ascii text :)
  • An NUID string.

Constants

  • The number of bytes/characters of a NUID.

Functions

  • Generate the next NUID string from the global locked NUID instance.